package com.dp.pojo;

import java.io.Serializable;

import com.dp.vo.TTjTopTwenty;

public class TjConstopbyareaVo implements Serializable {
	
	private Integer id;
    private String cyear;
    private String cmonth;
    private Integer areaid;
    private Integer cid;
    private String areaname;
    private String contenttitle;
    private String contentsource;
    private String newstype;
    private String userid;
    private Integer accessnumber;
    
    public TjConstopbyareaVo() {
    }
    public TjConstopbyareaVo(Integer id) {
        this.id = id;
    }
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getCyear() {
		return cyear;
	}
	public void setCyear(String cyear) {
		this.cyear = cyear;
	}
	public String getCmonth() {
		return cmonth;
	}
	public void setCmonth(String cmonth) {
		this.cmonth = cmonth;
	}
	public Integer getAreaid() {
		return areaid;
	}
	public void setAreaid(Integer areaid) {
		this.areaid = areaid;
	}
	public String getAreaname() {
		return areaname;
	}
	public void setAreaname(String areaname) {
		this.areaname = areaname;
	}
	public Integer getCid() {
		return cid;
	}
	public void setCid(Integer cid) {
		this.cid = cid;
	}
	public String getContenttitle() {
		return contenttitle;
	}
	public void setContenttitle(String contenttitle) {
		this.contenttitle = contenttitle;
	}
	public String getContentsource() {
		return contentsource;
	}
	public void setContentsource(String contentsource) {
		this.contentsource = contentsource;
	}
	public String getNewstype() {
		return newstype;
	}
	public void setNewstype(String newstype) {
		this.newstype = newstype;
	}
	public String getUserid() {
		return userid;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	public Integer getAccessnumber() {
		return accessnumber;
	}
	public void setAccessnumber(Integer accessnumber) {
		this.accessnumber = accessnumber;
	}
	
	@Override
    public int hashCode() {
        int hash = 0;
        hash += (id != null ? id.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof TjConstopbyareaVo)) {
            return false;
        }
        TjConstopbyareaVo other = (TjConstopbyareaVo) object;
        if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "com.dp.pojo.TjConstopbyareaVo[id=" + id + "]";
    }
    
}
